//
//  FTAlbumPhotosController.h
//  Decathlon
//
//  Created on 14-2-11.
//  Copyright (c) 2014年. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "FTBrowserAlbumController.h"
#import "AlbumDefine.h"
#import "ASBaseViewController.h"
#import "FTPhotoCropViewController.h"

@protocol FTAlbumPhotoViewControllerDelegate;
@protocol RCSVideoPickerDelegate;

@interface FTAlbumPhotosController:ASBaseViewController<UITableViewDataSource,UITableViewDelegate,FTBrowserAlbumControllerDelegate,FTPhotoCropViewControllerDelegate>
{
    
}
@property (nonatomic,strong) ALAssetsGroup  *assetsGroup;
@property (nonatomic,strong) UITableView    *photosTableView;
@property (nonatomic,strong) NSMutableArray *photosArray;
@property (nonatomic,strong) NSMutableDictionary *selectPhotosDict;
@property (nonatomic,strong) NSMutableArray *selectPhotoKeys;
@property (nonatomic,strong) NSMutableDictionary *selAlbumPhotoKeyDict; //相册页面和详情界面照片Index字典
@property (nonatomic,strong) NSMutableDictionary *selBrowserAlbumPhotoKeyDict;
@property (nonatomic,assign) NSInteger intMaxAllowedPhotoCount;
@property (nonatomic,assign) AlbumType albumType;
@property (nonatomic,assign) BOOL   photoCanEdit;//个人头像修改裁剪
@property (nonatomic,assign) id<FTAlbumPhotoViewControllerDelegate>albumDelegate;
@property (nonatomic,assign) id<RCSVideoPickerDelegate> videoDelegate;
@property (nonatomic,assign) BOOL isComeFromWiFi;
@property (nonatomic,assign) BOOL bPreview;//选择图片预览
/**
 *	@brief
 *
 *  初始化默认相册
 *
 *	@return	N/A
 */
-(id)initDefaultALAssetsGroup;

/**
 *  初始化
 *
 *  @param group 选择的相册
 *
 *  @return 对象本身
 */
- (id)initWithALAssetsGroup:(ALAssetsGroup *)group;

@end




